cmake_minimum_required(VERSION 3.17)
project(sdl_demo1)

set(CMAKE_CXX_STANDARD 14)

add_definitions("-D _UNICODE")

#using sdl
#using gdi
#using gl
#using dx

set(SDL_LIB "SDL2.lib SDL2main.lib SDL2test.lib" )
set(SDL_LIB_LOCATION "H:\\tmp\\SDL2-2.0.20\\lib\\x86\\" )
set(SDL_INCLUDE_LOCATION "H:\\tmp\\SDL2-2.0.20\\include" )

message(${CMAKE_CURRENT_SOURCE_DIR})
set( gdi_include "${CMAKE_CURRENT_SOURCE_DIR}/gdi/" )
set( core_include "${CMAKE_CURRENT_SOURCE_DIR}/core/include" )
set( engine_include "${CMAKE_CURRENT_SOURCE_DIR}/engine/include" )
set( game_include "${CMAKE_CURRENT_SOURCE_DIR}/game/include" )

add_subdirectory(gdi)
add_subdirectory(core)
add_subdirectory(engine)
add_subdirectory(game)

add_subdirectory(exe)

add_subdirectory(showModel)
add_subdirectory(soft_render)
#add_subdirectory(glew)